<div class="widget am-cf">
	<div class="am-fl"><a href="javascript:void(0)" class="am-btn am-btn-primary am-btn-xs" onclick="history.go(-1);return false;"><i class="am-icon-long-arrow-left"></i> 采购验收清单</a></div>
    <div class="am-fr">
    	<a href="javascript:void(0);" class="am-btn am-btn-danger am-btn-xs" onclick="save();return false"><i class="am-icon-check"></i> 确认入库</a>
        <a href="javascript:void(0);" class="am-btn am-btn-default am-btn-xs" onclick="history.go(-1);return false;"> 取消入库</a>
    </div>
</div>
<style>
.am-table>tbody>tr>td{ border-top:0;}
.am-table-bdrs{}
.am-table-bdrs th,.am-table-bdrs td{ border-bottom:1px solid #edf1f9; font-size:12px; color:#000; line-height:25px !important;}
.am-table-bdrs td input{ padding:.3rem !important;}
.am-table>tbody+tbody tr:first-child td {
    border-top: 1px solid #ddd;
}
.am-table-bdrs thead td{ font-weight:bold; background-color:#fafafa;}
.hide{}
.am-table>tbody>tr>td{ vertical-align: middle;}
</style>
<div style="background-color:#f2f8fa; padding:20px 20px 1px 20px; margin-bottom:15px;">
    <table class="am-table">
    	<td>{{.m.Suppliers.Name}}</td>
        <td>开票日期：{{.m.CreatedAt | getDate}}</td>
        <td>送货方式：{{index .deliverymode .m.DeliveryMode}}</td>
        <td>付款方式：{{index .paymethod .m.PayMethod}}</td>
        <td>制单人：{{.m.CreatedBy}}</td>
        <td>邮费：{{.m.Postage}}</td>
    </table>
</div>
<form class="am-form" style="padding-top:0;">
<div class="row hide">    
   <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl" table_type="lens_datatable">光学镜片 <span></span></div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="lens_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                                <td>商品名</td>
								<td>球镜</td>
								<td>柱镜</td>
								<td width="130px">订单数量</td>
								<td width="130px">入库数量</td>
								<td width="130px">&nbsp;</td>
                            </tr>	
                        </thead>
                        <tbody class="query-form"></tbody>
                    </table>
                
            </div>
        </div>
   </div>
</div>
<div class="row hide">
     <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl" table_type="contact_lens_datatable">隐形眼镜 <span></span></div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bd am-table-bdrs am-table-compact am-table-hover" id="contact_lens_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></th>
                                <td>商品名</td>
                                <td>球镜</td>
                                <td>柱镜</td>
                                <td width="130px">批号</td>
                                <td width="130px">生产日期</td>
                                <td width="130px">有效期至</td>
                                <td width="130px">订单数量</td>
                                <td width="130px">入库数量</td>
                                <td width="130px">&nbsp;</td>
                            </tr>
                        </thead>
                        <tbody class="query-form"></tbody>
                    </table>
                
            </div>
        </div>
   </div>
</div>

<div class="row hide">    
   <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl" table_type="mounting_datatable">光学镜架 <span></span></div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="mounting_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                                <td>商品名</td>
								<td>型号</td>
								<td>色号</td>
								<td>尺寸</td>
								<td>框型</td>
								<td width="130px">订单数量</td>
								<td width="130px">入库数量</td>
								<td width="130px">&nbsp;</td>
                            </tr>	
                        </thead>
                        <tbody class="query-form"></tbody>
                    </table>
                
            </div>
        </div>
   </div>
</div>
<div class="row hide">    
   <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl" table_type="presbyopic_glass_datatable">成品镜 <span></span></div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="presbyopic_glass_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                                <td>商品名</td>
								<td>球镜</td>
								<td>ADD</td>
								<td width="130px">订单数量</td>
								<td width="130px">入库数量</td>
								<td width="130px">&nbsp;</td>
                            </tr>	
                        </thead>
                        <tbody class="query-form"></tbody>
                    </table>
                
            </div>
        </div>
   </div>
</div>
<div class="row hide">    
   <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl" table_type="sunglass_datatable">太阳镜 <span></span></div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="sunglass_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                                <td>商品名</td>
								<td>型号</td>
								<td>色号</td>
								<td>尺寸</td>
								<td>功效</td>
								<td>膜层颜色</th>
								<td>框型</td>
								<td width="130px">订单数量</td>
								<td width="130px">入库数量</td>
								<td width="130px">&nbsp;</td>
                            </tr>	
                        </thead>
                        <tbody class="query-form"></tbody>
                    </table>
                
            </div>
        </div>
   </div>
</div>
<div class="row hide">    
   <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl" table_type="contact_lens_care_solution_datatable">护理产品 <span></span></div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="contact_lens_care_solution_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                                <td>商品名</th>
                                <td width="130px">批号</td>
                                <td width="130px">生产日期</td>
                                <td width="130px">有效期至</td>
                                <td width="130px">订单数量</td>
                                <td width="130px">入库数量</td>
                                <td width="130px">&nbsp;</td>
                            </tr>	
                        </thead>
                        <tbody class="query-form"></tbody>
                    </table>
                
            </div>
        </div>
   </div>
</div>
<div class="row hide">    
   <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl" table_type="other_datatable">辅料其它 <span></span></div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="other_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                                <td>商品名</th>
								<td width="130px">订单数量</td>
								<td width="130px">入库数量</td>
								<td width="130px">&nbsp;</td>
                            </tr>	
                        </thead>
                        <tbody class="query-form"></tbody>
                    </table>
                
            </div>
        </div>
   </div>
</div>

<div class="row hide">
    <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl" table_type="contact_lens_care_solution_datatable">药品 <span></span></div>
            </div>
            <div class="widget-body  am-fr">
                <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="contact_drugs_datatable">
                    <thead>
                    <tr>
                        <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                        <td>商品名</th>
                        <td width="130px">批号</td>
                        <td width="130px">生产日期</td>
                        <td width="130px">有效期至</td>
                        <td width="130px">订单数量</td>
                        <td width="130px">入库数量</td>
                        <td width="130px">&nbsp;</td>
                    </tr>
                    </thead>
                    <tbody class="query-form"></tbody>
                </table>

            </div>
        </div>
    </div>
</div>

</form>

